inherited frmArtikel: TfrmArtikel
  Left = 341
  Top = 312
  Caption = 'Artikel'
  ClientHeight = 516
  ClientWidth = 792
  Constraints.MinWidth = 800
  ExplicitLeft = 341
  ExplicitTop = 312
  ExplicitWidth = 800
  ExplicitHeight = 554
  PixelsPerInch = 96
  TextHeight = 18
  inherited pnlClient: TPanel
    Top = 400
    Width = 792
    Height = 116
    ExplicitTop = 400
    ExplicitWidth = 792
    ExplicitHeight = 116
    object lblCrtnaKoda: TLabel [1]
      Left = 10
      Top = 60
      Width = 64
      Height = 18
      Caption = #268'rtna koda'
    end
    object lblSkupina: TLabel [2]
      Left = 400
      Top = 60
      Width = 46
      Height = 18
      Caption = 'Skupina'
    end
    object lblDDV: TLabel [3]
      Left = 320
      Top = 60
      Width = 23
      Height = 18
      Caption = 'DDV'
    end
    object lblEnotaMere: TLabel [4]
      Left = 130
      Top = 60
      Width = 67
      Height = 18
      Caption = 'Enota mere'
    end
    object lblCena: TLabel [5]
      Left = 220
      Top = 60
      Width = 29
      Height = 18
      Caption = 'Cena'
    end
    inherited edtNaziv: TcxDBMaskEdit
      ExplicitWidth = 771
      Width = 771
    end
    object edtCrtnaKoda: TcxDBTextEdit
      Left = 10
      Top = 80
      RepositoryItem = rpstMainCrtnaKoda
      DataBinding.DataField = 'CRTNA_KODA'
      DataBinding.DataSource = dtsrcMain
      Style.StyleController = styctrlMain
      TabOrder = 1
      Width = 111
    end
    object lkpcbEnotaMere: TcxDBLookupComboBox
      Left = 130
      Top = 80
      RepositoryItem = rpstMainEnotaMereNazivEdit
      DataBinding.DataField = 'ENOTA_MERE_ID'
      DataBinding.DataSource = dtsrcMain
      Properties.KeyFieldNames = 'ID'
      Properties.ListColumns = <
        item
          FieldName = 'Naziv'
        end>
      Properties.ListOptions.GridLines = glNone
      Properties.ListOptions.ShowHeader = False
      Properties.ListSource = dtsrcEnotaMere
      Style.StyleController = styctrlMain
      TabOrder = 2
      Width = 81
    end
    object lkpcbDDV: TcxDBLookupComboBox
      Left = 320
      Top = 80
      RepositoryItem = rpstMainDDVVrednostEdit
      DataBinding.DataField = 'DDV_ID'
      DataBinding.DataSource = dtsrcMain
      Properties.KeyFieldNames = 'ID'
      Properties.ListColumns = <
        item
          FieldName = 'Naziv'
        end>
      Properties.ListOptions.GridLines = glNone
      Properties.ListOptions.ShowHeader = False
      Properties.ListSource = dtsrcDDV
      Style.StyleController = styctrlMain
      TabOrder = 4
      Width = 71
    end
    object lkpcbSkupina: TcxDBLookupComboBox
      Left = 400
      Top = 80
      RepositoryItem = rpstMainSkupinaNazivEdit
      DataBinding.DataField = 'SKUPINA_ID'
      DataBinding.DataSource = dtsrcMain
      Properties.KeyFieldNames = 'ID'
      Properties.ListColumns = <
        item
          FieldName = 'Naziv'
        end>
      Properties.ListOptions.GridLines = glNone
      Properties.ListOptions.ShowHeader = False
      Properties.ListSource = dtsrcSkupina
      Style.StyleController = styctrlMain
      TabOrder = 5
      Width = 151
    end
    object lkpcbCena: TcxDBCurrencyEdit
      Left = 220
      Top = 80
      RepositoryItem = rpstMainCena
      DataBinding.DataField = 'CENA'
      DataBinding.DataSource = dtsrcMain
      Style.StyleController = styctrlMain
      TabOrder = 3
      Width = 91
    end
  end
  inherited pnlTop: TPanel
    Width = 792
    Height = 400
    Constraints.MinHeight = 400
    ExplicitWidth = 792
    ExplicitHeight = 400
    inherited grdMain: TcxGrid
      Width = 792
      Height = 400
      ExplicitWidth = 792
      ExplicitHeight = 400
      inherited grdtvMain: TcxGridDBBandedTableView
        Styles.ContentEven = nil
        Bands = <
          item
            Caption = 'Podatki'
            Width = 570
          end>
        object grdtvMainSkupinaNaziv: TcxGridDBBandedColumn
          Caption = 'Skupina'
          DataBinding.FieldName = 'SKUPINA_NAZIV'
          RepositoryItem = rpstMainSkupinaNaziv
          Visible = False
          GroupIndex = 0
          HeaderAlignmentHorz = taCenter
          MinWidth = 150
          Options.HorzSizing = False
          Options.Moving = False
          SortIndex = 0
          SortOrder = soAscending
          Width = 150
          Position.BandIndex = 0
          Position.ColIndex = 5
          Position.RowIndex = 0
        end
        object grdtvMainCrtnaKoda: TcxGridDBBandedColumn
          Caption = #268'rtna koda'
          DataBinding.FieldName = 'CRTNA_KODA'
          RepositoryItem = rpstMainCrtnaKoda
          HeaderAlignmentHorz = taCenter
          MinWidth = 110
          Options.Grouping = False
          Options.HorzSizing = False
          Options.Moving = False
          Width = 110
          Position.BandIndex = 0
          Position.ColIndex = 8
          Position.RowIndex = 0
        end
        object grdtvMainEnotaMereNaziv: TcxGridDBBandedColumn
          Caption = 'EM'
          DataBinding.FieldName = 'ENOTA_MERE_NAZIV'
          RepositoryItem = rpstMainEnotaMereNaziv
          HeaderAlignmentHorz = taCenter
          MinWidth = 80
          Options.Grouping = False
          Options.HorzSizing = False
          Options.Moving = False
          Width = 80
          Position.BandIndex = 0
          Position.ColIndex = 7
          Position.RowIndex = 0
        end
        object grdtvMainCena: TcxGridDBBandedColumn
          Caption = 'Cena'
          DataBinding.FieldName = 'CENA'
          RepositoryItem = rpstMainCena
          HeaderAlignmentHorz = taCenter
          MinWidth = 90
          Options.Grouping = False
          Options.HorzSizing = False
          Options.Moving = False
          Width = 90
          Position.BandIndex = 0
          Position.ColIndex = 4
          Position.RowIndex = 0
        end
        object grdtvMainDDVVrednost: TcxGridDBBandedColumn
          Caption = 'DDV'
          DataBinding.FieldName = 'DDV_VREDNOST'
          RepositoryItem = rpstMainDDVVrednost
          HeaderAlignmentHorz = taCenter
          MinWidth = 70
          Options.Grouping = False
          Options.HorzSizing = False
          Options.Moving = False
          Width = 70
          Position.BandIndex = 0
          Position.ColIndex = 6
          Position.RowIndex = 0
        end
      end
    end
  end
  inherited rpstMain: TcxEditRepository
    object rpstMainCrtnaKoda: TcxEditRepositoryTextItem
      Properties.Alignment.Horz = taCenter
      Properties.ReadOnly = False
    end
    object rpstMainEnotaMereNazivEdit: TcxEditRepositoryLookupComboBoxItem
      Properties.Alignment.Horz = taCenter
      Properties.KeyFieldNames = 'ID'
      Properties.ListColumns = <
        item
          FieldName = 'NAZIV'
        end>
      Properties.ListOptions.GridLines = glNone
      Properties.ListOptions.ShowHeader = False
      Properties.ListSource = dtsrcEnotaMere
      Properties.ReadOnly = False
    end
    object rpstMainDDVVrednostEdit: TcxEditRepositoryLookupComboBoxItem
      Properties.Alignment.Horz = taLeftJustify
      Properties.KeyFieldNames = 'ID'
      Properties.ListColumns = <
        item
          FieldName = 'VREDNOST'
        end>
      Properties.ListOptions.GridLines = glNone
      Properties.ListOptions.ShowHeader = False
      Properties.ListSource = dtsrcDDV
      Properties.ReadOnly = False
    end
    object rpstMainSkupinaNazivEdit: TcxEditRepositoryLookupComboBoxItem
      Properties.KeyFieldNames = 'ID'
      Properties.ListColumns = <
        item
          FieldName = 'NAZIV'
        end>
      Properties.ListOptions.GridLines = glNone
      Properties.ListOptions.ShowHeader = False
      Properties.ListSource = dtsrcSkupina
      Properties.ReadOnly = False
    end
    object rpstMainCena: TcxEditRepositoryCurrencyItem
      Properties.Alignment.Horz = taRightJustify
      Properties.DisplayFormat = ',0.00;-,0.00'
    end
    object rpstMainEnotaMereNaziv: TcxEditRepositoryTextItem
      Properties.Alignment.Horz = taCenter
    end
    object rpstMainDDVVrednost: TcxEditRepositoryTextItem
      Properties.Alignment.Horz = taCenter
    end
    object rpstMainSkupinaNaziv: TcxEditRepositoryTextItem
    end
  end
  inherited cdsMain: TBaseDataSet
    FieldDefs = <
      item
        Name = 'ID'
        DataType = ftInteger
      end
      item
        Name = 'RAZRED__ID'
        DataType = ftInteger
      end
      item
        Name = 'REF_ID'
        DataType = ftInteger
      end
      item
        Name = 'NAZIV'
        DataType = ftString
        Size = 255
      end
      item
        Name = 'SKUPINA_ID'
        DataType = ftInteger
      end
      item
        Name = 'CRTNA_KODA'
        DataType = ftString
        Size = 13
      end
      item
        Name = 'ENOTA_MERE_ID'
        DataType = ftInteger
      end
      item
        Name = 'DDV_ID'
        DataType = ftInteger
      end
      item
        Name = 'CENA'
        DataType = ftFloat
      end
      item
        Name = 'SKUPINA_NAZIV'
        DataType = ftString
        Size = 255
      end
      item
        Name = 'ENOTA_MERE_NAZIV'
        DataType = ftString
        Size = 255
      end
      item
        Name = 'DDV_VREDNOST'
        DataType = ftFloat
      end>
    DisplayName = 'Artikel'
  end
  inherited scnMain: TSharedConnection
    ChildName = 'Artikel'
  end
  inherited styrpstMain: TcxStyleRepository
    inherited grdstyshtMain: TcxGridBandedTableViewStyleSheet
      BuiltIn = True
    end
  end
  inherited dbstrMain: TKDBStructure
    Struct = (
      '[Main]'
      'Version=3.5'
      'OperatCount=15'
      'TableCount=0'
      'FieldCount=0'
      'CondCount=0'
      'FieldGroups=0'
      'DefaultMainTable='
      'RootFieldsFirst=1'
      ' '
      '[Operator:1]'
      'Name=Equal'
      'DisplayName=je enak/-a'
      'SQLName=@f = '#39'@1'#39
      'ValFormat='
      'ExprType=SameAsField'
      
        'AppliedTypes=ftString,ftSmallint,ftInteger,ftWord,ftBoolean,ftFl' +
        'oat,ftCurrency,ftBCD,ftDate,ftTime,ftDateTime,ftAutoInc,ftFixedC' +
        'har,ftWideString,ftLargeint,ftTimeStamp,'
      'ValueKind=vkScalar'
      ' '
      '[Operator:2]'
      'Name=NotEqual'
      'DisplayName=ni enak/-a'
      'SQLName=@f <> '#39'@1'#39
      'ValFormat='
      'ExprType=SameAsField'
      
        'AppliedTypes=ftString,ftSmallint,ftInteger,ftWord,ftBoolean,ftFl' +
        'oat,ftCurrency,ftBCD,ftDate,ftTime,ftDateTime,ftAutoInc,ftFixedC' +
        'har,ftWideString,ftLargeint,ftTimeStamp,'
      'ValueKind=vkScalar'
      ' '
      '[Operator:3]'
      'Name=LessThan'
      'DisplayName=je manj'#353'i/-a kot'
      'SQLName=@f < '#39'@1'#39
      'ValFormat='
      'ExprType=SameAsField'
      
        'AppliedTypes=ftString,ftSmallint,ftInteger,ftWord,ftFloat,ftCurr' +
        'ency,ftBCD,ftDate,ftTime,ftDateTime,ftAutoInc,ftFixedChar,ftWide' +
        'String,ftLargeint,ftTimeStamp,'
      'ValueKind=vkScalar'
      ' '
      '[Operator:4]'
      'Name=LessOrEqual'
      'DisplayName=je manj'#353'i/-a ali enak/-a kot'
      'SQLName=@f <= '#39'@1'#39
      'ValFormat='
      'ExprType=SameAsField'
      
        'AppliedTypes=ftString,ftSmallint,ftInteger,ftWord,ftFloat,ftCurr' +
        'ency,ftBCD,ftDate,ftTime,ftDateTime,ftAutoInc,ftFixedChar,ftWide' +
        'String,ftLargeint,ftTimeStamp,'
      'ValueKind=vkScalar'
      ' '
      '[Operator:5]'
      'Name=GreaterThan'
      'DisplayName=je ve'#269'ji/-a kot'
      'SQLName=@f >'#39'@1'#39
      'ValFormat='
      'ExprType=SameAsField'
      
        'AppliedTypes=ftString,ftSmallint,ftInteger,ftWord,ftFloat,ftCurr' +
        'ency,ftBCD,ftDate,ftTime,ftDateTime,ftAutoInc,ftFixedChar,ftWide' +
        'String,ftLargeint,ftTimeStamp,'
      'ValueKind=vkScalar'
      ' '
      '[Operator:6]'
      'Name=GreaterOrEqual'
      'DisplayName=je ve'#269'ji/-a ali enak/-a kot'
      'SQLName=@f >= '#39'@1'#39
      'ValFormat='
      'ExprType=SameAsField'
      
        'AppliedTypes=ftString,ftSmallint,ftInteger,ftWord,ftFloat,ftCurr' +
        'ency,ftBCD,ftDate,ftTime,ftDateTime,ftAutoInc,ftFixedChar,ftWide' +
        'String,ftLargeint,ftTimeStamp,'
      'ValueKind=vkScalar'
      ' '
      '[Operator:7]'
      'Name=IsNull'
      'DisplayName=je prazen/-na'
      'SQLName=@f is null'
      'ValFormat='
      'ExprType=SameAsField'
      
        'AppliedTypes=ftString,ftSmallint,ftInteger,ftWord,ftBoolean,ftFl' +
        'oat,ftCurrency,ftBCD,ftDate,ftTime,ftDateTime,ftAutoInc,ftMemo,f' +
        'tFmtMemo,ftFixedChar,ftWideString,ftLargeint,ftTimeStamp,'
      'ValueKind=vkScalar'
      ' '
      '[Operator:8]'
      'Name=InList'
      'DisplayName=je v seznamu'
      'SQLName=@f in (@1)'
      'ValFormat='
      'ExprType=SameAsField'
      
        'AppliedTypes=ftString,ftSmallint,ftInteger,ftWord,ftBoolean,ftFl' +
        'oat,ftCurrency,ftBCD,ftDate,ftTime,ftDateTime,ftAutoInc,ftFixedC' +
        'har,ftWideString,ftLargeint,ftTimeStamp,'
      'ValueKind=vkList'
      ' '
      '[Operator:9]'
      'Name=NotInList'
      'DisplayName=ni v seznamu'
      'SQLName=NOT (@f in (@1))'
      'ValFormat='
      'ExprType=SameAsField'
      
        'AppliedTypes=ftString,ftSmallint,ftInteger,ftWord,ftBoolean,ftFl' +
        'oat,ftCurrency,ftBCD,ftDate,ftTime,ftDateTime,ftAutoInc,ftFixedC' +
        'har,ftWideString,ftLargeint,ftTimeStamp,'
      'ValueKind=vkList'
      ' '
      '[Operator:10]'
      'Name=StartsWith'
      'DisplayName=se za'#269'ne z'
      'SQLName=@f like '#39'@1%'#39
      'ValFormat='
      'ExprType=SameAsField'
      'AppliedTypes=ftString,ftMemo,ftFmtMemo,ftFixedChar,ftWideString,'
      'ValueKind=vkScalar'
      ' '
      '[Operator:11]'
      'Name=NotStartsWith'
      'DisplayName=se ne za'#269'ne z'
      'SQLName=not(@f like '#39'@1%'#39')'
      'ValFormat='
      'ExprType=SameAsField'
      'AppliedTypes=ftString,ftMemo,ftFmtMemo,ftFixedChar,ftWideString,'
      'ValueKind=vkScalar'
      ' '
      '[Operator:12]'
      'Name=Contains'
      'DisplayName=vsebuje'
      'SQLName=@f like '#39'%@1%'#39
      'ValFormat='
      'ExprType=SameAsField'
      'AppliedTypes=ftString,ftMemo,ftFmtMemo,ftFixedChar,ftWideString,'
      'ValueKind=vkScalar'
      ' '
      '[Operator:13]'
      'Name=NotContains'
      'DisplayName=ne vsebuje'
      'SQLName=not(@f like '#39'%@1%'#39')'
      'ValFormat='
      'ExprType=SameAsField'
      'AppliedTypes=ftString,ftMemo,ftFmtMemo,ftFixedChar,ftWideString,'
      'ValueKind=vkScalar'
      ' '
      '[Operator:14]'
      'Name=Between'
      'DisplayName=je med'
      'SQLName=@f between '#39'@1'#39' and '#39'@2'#39
      'ValFormat=and'
      'ExprType=SameAsField'
      
        'AppliedTypes=ftString,ftSmallint,ftInteger,ftWord,ftFloat,ftCurr' +
        'ency,ftBCD,ftDate,ftTime,ftDateTime,ftAutoInc,ftFixedChar,ftWide' +
        'String,ftLargeint,ftTimeStamp,'
      'ValueKind=vkScalar'
      ' '
      '[Operator:15]'
      'Name=NotBetween'
      'DisplayName=ni med'
      'SQLName=NOT (@f between '#39'@1'#39' and '#39'@2'#39')'
      'ValFormat=and'
      'ExprType=SameAsField'
      
        'AppliedTypes=ftString,ftSmallint,ftInteger,ftWord,ftFloat,ftCurr' +
        'ency,ftBCD,ftDate,ftTime,ftDateTime,ftAutoInc,ftFixedChar,ftWide' +
        'String,ftLargeint,ftTimeStamp,'
      'ValueKind=vkScalar'
      ' '
      '[RootGroup]'
      'Fields=')
  end
  object scnSkupina: TSharedConnection
    ParentConnection = frmMain.cnMain
    ChildName = 'SkupinaArtikel'
    Left = 35
    Top = 115
  end
  object cdsSkupina: TBaseDataSet
    Aggregates = <>
    FieldDefs = <
      item
        Name = 'ID'
        Attributes = [faRequired]
        DataType = ftInteger
      end
      item
        Name = 'RAZRED__ID'
        Attributes = [faRequired]
        DataType = ftInteger
      end
      item
        Name = 'RAZRED_ID'
        Attributes = [faRequired]
        DataType = ftInteger
      end
      item
        Name = 'SIFRA'
        Attributes = [faRequired]
        DataType = ftString
        Size = 10
      end
      item
        Name = 'NAZIV'
        Attributes = [faRequired]
        DataType = ftString
        Size = 255
      end
      item
        Name = 'NAZIV_KRATEK'
        DataType = ftString
        Size = 15
      end
      item
        Name = 'SIFRA_INT'
        DataType = ftInteger
      end>
    IndexDefs = <
      item
        Name = 'idxNaziv'
        Fields = 'NAZIV'
      end>
    IndexName = 'idxNaziv'
    Params = <>
    ProviderName = 'dspMain'
    RemoteServer = scnSkupina
    StoreDefs = True
    CustomParams = <>
    DisplayName = 'Skupina'
    Left = 65
    Top = 115
  end
  object dtsrcSkupina: TDataSource
    DataSet = cdsSkupina
    Left = 95
    Top = 115
  end
  object cdsDDV: TBaseDataSet
    Aggregates = <>
    FieldDefs = <
      item
        Name = 'ID'
        DataType = ftInteger
      end
      item
        Name = 'RAZRED__ID'
        DataType = ftInteger
      end
      item
        Name = 'REF_ID'
        DataType = ftInteger
      end
      item
        Name = 'NAZIV'
        DataType = ftString
        Size = 255
      end
      item
        Name = 'VREDNOST'
        DataType = ftFloat
      end>
    IndexDefs = <
      item
        Name = 'idxNaziv'
        Fields = 'NAZIV'
      end>
    IndexName = 'idxNaziv'
    Params = <>
    ProviderName = 'dspMain'
    RemoteServer = scnDDV
    StoreDefs = True
    CustomParams = <>
    DisplayName = 'cdsDDV'
    Left = 65
    Top = 55
  end
  object dtsrcDDV: TDataSource
    DataSet = cdsDDV
    Left = 95
    Top = 55
  end
  object scnDDV: TSharedConnection
    ParentConnection = frmMain.cnMain
    ChildName = 'DDV'
    Left = 35
    Top = 55
  end
  object scnEnotaMere: TSharedConnection
    ParentConnection = frmMain.cnMain
    ChildName = 'EnotaMere'
    Left = 35
    Top = 85
  end
  object cdsEnotaMere: TBaseDataSet
    Aggregates = <>
    FieldDefs = <
      item
        Name = 'ID'
        Attributes = [faRequired]
        DataType = ftInteger
      end
      item
        Name = 'RAZRED__ID'
        Attributes = [faRequired]
        DataType = ftInteger
      end
      item
        Name = 'SIFRA'
        Attributes = [faRequired]
        DataType = ftString
        Size = 10
      end
      item
        Name = 'NAZIV'
        Attributes = [faRequired]
        DataType = ftString
        Size = 255
      end
      item
        Name = 'SIFRA_INT'
        DataType = ftInteger
      end>
    IndexDefs = <
      item
        Name = 'idxNaziv'
        Fields = 'NAZIV'
      end>
    IndexName = 'idxNaziv'
    Params = <>
    ProviderName = 'dspMain'
    RemoteServer = scnEnotaMere
    StoreDefs = True
    CustomParams = <>
    DisplayName = 'cdsEnotaMere'
    Left = 65
    Top = 85
  end
  object dtsrcEnotaMere: TDataSource
    DataSet = cdsEnotaMere
    Left = 95
    Top = 85
  end
end
